<?php

namespace app\common\model;

//use think\Model;

class SystenParamModel extends BaseModel{

	protected $table = 'tp_system_param';

	/*
	获取系统参数
	*/
	public function getSystemParam($param){
		$res = $this->where('param', $param)->value('val');
		return $res;
	}
}